home *** CD-ROM | disk | FTP | other *** search
/ Chip: Special XP & Vista / Chip Spesial XP & Vista.iso / 1_Audio_Video / MediaCoder / MediaCoder-0.6.1.4098.exe / htdocs / xslt / report.xsl < prev   
Extensible Markup Language  |  2008-03-27  |  1KB  |  34 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  3. <xsl:output method="html" encoding="utf-8" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
  4. <xsl:template match="/MediaCoderReport">
  5. <html xmlns="http://www.w3.org/1999/xhtml">
  6. <head>
  7. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  8. <title>Report</title>
  9. <style>
  10. th, td {
  11. font-size:12px;
  12. font-family:Verdana;
  13. height:24px;
  14. };
  15. </style>
  16. </head>
  17. <body>
  18. <table border="1" cellspacing="0" width="100%">
  19. <tr><th>Path</th><th>Size</th><th>Type</th><th>Mime-Type</th><th>State</th><th>URL</th></tr>
  20. <xsl:for-each select="item">
  21. <tr><td><xsl:value-of select="path"/></td>
  22. <td><xsl:if test="size!=-1"><xsl:value-of select="size"/> KB</xsl:if></td>
  23. <td><xsl:value-of select="type"/></td>
  24. <td><xsl:value-of select="mimetype"/></td>
  25. <td><xsl:if test="done=1">Done</xsl:if></td>
  26. <td><a target="_blank"><xsl:attribute name="href"><xsl:value-of select="url"/></xsl:attribute><xsl:value-of select="url"/></a></td>
  27. </tr>
  28. </xsl:for-each>
  29. </table>
  30. </body>
  31. </html>
  32.  
  33. </xsl:template>
  34. </xsl:stylesheet>